package com.pktechan.manage.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program
 * @Description
 * @Author qx.zhang
 * @create 2021-03-05 11:03
 */

public class TradeOrderDetail {


    /**
     * 订单详情ID
     */

    private Integer id;

    /**
     * 业务种类 10-游客购买 11-vip复购 12-配送商复购  21-注册VIP 22-注册配送商
     */
    private Integer businessType;

    /**
     * 订单ID
     */
    private Integer tradeOrderId;

    /**
     * 客户ID
     */
    private Integer custId;

    /**
     * 产品ID
     */
    private Integer productId;

    /**
     * 商品数量
     */
    private Integer count;

    /**
     * 购买单价
     */
    private BigDecimal price;

    /**
     * 小计金额
     */
    private BigDecimal amount;
    /**
     * 冗余下单时产品设置的云积分
     */
    private BigDecimal cloudPoint;
    /**
     * 冗余下单时产品设置的运费
     */
    private BigDecimal priceCarriage;

    private Date createTime;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Integer getTradeOrderId() {
        return this.tradeOrderId;
    }

    public void setTradeOrderId(Integer tradeOrderId) {
        this.tradeOrderId = tradeOrderId;
    }

    public Integer getCustId() {
        return this.custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }

    public Integer getProductId() {
        return this.productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getCount() {
        return this.count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getCloudPoint() {
        return cloudPoint;
    }

    public void setCloudPoint(BigDecimal cloudPoint) {
        this.cloudPoint = cloudPoint;
    }

    public BigDecimal getPriceCarriage() {
        return priceCarriage;
    }

    public void setPriceCarriage(BigDecimal priceCarriage) {
        this.priceCarriage = priceCarriage;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
